import request from '@/utils/request'

// 查询列表
export function listEhSignUpActivities(query) {
    return request({
        url: '/volunteer/api/ehsign/list',
        method: 'post',
        data: query
    })
}

// 查询详细
export function getEhSignUpActivities(ecaId) {
    return request({
        url: '/volunteer/api/ehsign/info/' + ecaId,
        method: 'get'
    })
}

// 新增
export function addEhSignUpActivities(data) {
    return request({
        url: '/volunteer/api/ehsign/save',
        method: 'post',
        data: data
    })
}

// 修改
export function updateEhSignUpActivities(data) {
    return request({
        url: '/volunteer/api/ehsign/save',
        method: 'update',
        data: data
    })
}

// 删除
export function delEhSignUpActivities(ecaId) {
    return request({
        url: '/volunteer/api/ehsign/delete/' + ecaId,
        method: 'dget'
    })
}
// 批量删除
// export function delEhSignUpActivities(data) {
//     return request({
//         url: '/wx/ehsignupactivities/deleteBatch',
//         method: 'post',
//         data: data
//     })
// }
